package com.ctsims.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ctsims.common.annotation.Excel;
import com.ctsims.common.core.domain.BaseEntity;

/**
 * 课程对象 cts_course
 *
 * @author hhz
 * @date 2023-04-01
 */
public class CtsCourse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 课程ID */
    private Long courseId;

    /** 课程名称 */
    @Excel(name = "课程名称")
    private String courseName;

    /** 任课老师 */
    @Excel(name = "任课老师")
    private String courseTeacher;

    /** 课程状态（1是不可用，2是可用） */
    @Excel(name = "课程状态", readConverterExp = "1=是不可用，2是可用")
    private String status;

    public void setCourseId(Long courseId)
    {
        this.courseId = courseId;
    }

    public Long getCourseId()
    {
        return courseId;
    }
    public void setCourseName(String courseName)
    {
        this.courseName = courseName;
    }

    public String getCourseName()
    {
        return courseName;
    }
    public void setCourseTeacher(String courseTeacher)
    {
        this.courseTeacher = courseTeacher;
    }

    public String getCourseTeacher()
    {
        return courseTeacher;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("courseId", getCourseId())
            .append("courseName", getCourseName())
            .append("courseTeacher", getCourseTeacher())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
